package xin.jishu.ai.providers;

import xin.jishu.ai.entities.Student;

/**
 * @author sxsx欧克 <wo@jishu.xin>
 */
public abstract class BaseProvider {
    /**
     * 初始化
     */
    public abstract void initialize();

    /**
     * 判断资源是否存在
     *
     * @param student -
     * @return -
     */
    public abstract boolean exists(Student student);

    /**
     * 创建资源
     *
     * @param student -
     * @throws Exception -
     */
    public abstract void create(Student student) throws Exception;

}
